import { useParams } from "react-router-dom";

const Detail = () => {
    const { id } = useParams();
    return <div className='alert alert-danger'>详情页面: {id}</div>;
};

export default Detail;
